﻿
@{
    List<Pro_Building> info = ViewBag.building != null ? (List<Pro_Building>)ViewBag.building : new List<Pro_Building>();             
    }

@{
    foreach (var item in info)
    {    
    
     <div class="gird-row">
                <div class="gird-item row_01">
                    <div class="checkbox" onclick="SetChecked($(this));" id="@item.ID" >@Html.Hidden("oder", @item.ID)</div>
                </div>
                <div class="gird-item row_02">@item.BuildingType</div>
                <div class="gird-item clTitle row_03">@item.BuildingName</div>
                <div class="gird-item row_04">@item.UserCreate</div>
                <div class="gird-item row_05">@String.Format("{0:d/MM/yyyy}", item.DateCreate)</div>
                <div class="gird-item row_05 rowEnd"> @item.CountView</div>
            </div>    
    
    }

}